home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / dema / crysis_sp_demo.exe / AllOth~1.cab / shaders.pak / Shaders / Vegetation.ext < prev    next >
Encoding:
Text File  |  2007-05-19  |  2.1 KB  |  87 lines

  1. ////////////////////////////////////////////////////////////////////////////
  2. //
  3. //  Crytek Engine Source File.
  4. //  Shader extension
  5. //  Copyright (C), Crytek Studios, 2001-2004.
  6. // -------------------------------------------------------------------------
  7. //  File name:   Vegetation.ext
  8. //  Version:     v1.00
  9. //  Created:     20/01/2005 by Tiago Sousa
  10. //  Compilers:   
  11. //  Description: Vegetation extension used by the editor
  12. //               for automatic shader generation (based on "Vegetation" shader template)
  13. //
  14. //  Notes: The mask value should be changed and ordered properly, else when
  15. // adding new ones they will be active by default if there is one after active
  16. //
  17. // -------------------------------------------------------------------------
  18. //  History:
  19. //
  20. ////////////////////////////////////////////////////////////////////////////
  21.  
  22. Version (1.00)
  23.  
  24. Property
  25. {
  26.   Name = %LEAVES
  27.   Mask = 0x100
  28.   Property    (Leaves)
  29.   Description (Activate for leaves only ! Use leaf shading and leaves animation)
  30. }
  31.  
  32. Property
  33. {
  34.   Name = %GRASS
  35.   Mask = 0x2000         
  36.   Property    (Grass)
  37.   Description (Activate for grass only ! Use simple grass rendering)
  38. }
  39.  
  40. Property
  41. {
  42.   Name = %TERRAINHEIGHTADAPTION
  43.   Mask = 0x4000         
  44.   Property    (Fit to Terrain)
  45.   Description (Activate for grass only ! adapt object-height to terrainheight)
  46. }
  47.  
  48. Property
  49. {
  50.   Name = %DETAIL_BENDING
  51.   Mask = 0x10000
  52.   Property    (Detail bending)
  53.   Description (Activate for leaves and grass only. Make sure to paint required vertex colors also)
  54. }
  55.  
  56. Property
  57. {
  58.   Name = %DETAIL_BUMP_MAPPING
  59.   Mask = 0x20000
  60.   Property    (Detail bump mapping)
  61.   Description (Use detail bump mapping)
  62. }
  63.  
  64. Property
  65. {
  66.   Name = %STAT_BRANCHING
  67.   Mask = 0x10000000
  68.   DependencySet = $HW_StaticBranching
  69.   DependencyReset = $HW_StaticBranching
  70.   Hidden
  71. }
  72.  
  73. Property
  74. {
  75.   Name = %DYN_BRANCHING
  76.   Mask = 0x20000000
  77.   DependencySet = $HW_DynamicBranching
  78.   DependencyReset = $HW_DynamicBranching
  79.   Hidden
  80. }
  81.  
  82. Property
  83. {
  84.   Name = %TEMP_VEGETATION
  85.   Mask = 0x80000000
  86. }
  87.